<template>
	<ul>
		<li>新闻1 <input type="text">	</li>
		<li>新闻2 <input type="text"> </li>
		<li>新闻3 <input type="text"> </li>
	</ul>
</template>

<script>
	export default {
		name:'News',
		mounted(){
			console.log('News组件挂载了,ajax----->')
		},
		beforeDestroy(){
			console.log('News组件即将销毁')
		}
	}
</script>